package top.aicats.pattern.decoratorAndObserver.decorator;

public class LiuliangChargesDecorator extends BaseChargesDecorator {

    public LiuliangChargesDecorator(Charges baseCharges) {
        super(baseCharges);
    }

    @Override
    public int getCost() {
        return super.getCost() + 9;
    }

    @Override
    public String getMsg() {
        return super.getMsg() + "，流量费9元";
    }

}
